<div class="main">
  <div class="leftpane">
    <tal:block tal:omit-tag="" tal:content="structure php: this.action('left','header','header')" />
    </div>
  <div class="rightpane">
  <div class="heading">
  <h2>News</h2>
    <h3>Follow us</h3>
    <img src="/images/rss.jpg" />
<img src="/images/facebook.jpg" />
<img src="/images/twitter.jpg" />
<img src="/images/linkedin.jpg" />
<img src="/images/wordpress.jpg" />
    </div>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div>

            <div>
               <table width="100%" border="0" cellspacing="0" cellpadding="0" style="border:1px solid #ccc;">
               <tr>
					<td align="left"  style="padding-left:7px;">
						<div class="tabinpad" id="listContent"><tal:block  tal:content="structure php: this.partial('/index/list.html')"/></div>
					</td>
				  </tr>
                    <tr><td><div id="downPagerId" class="paginat">
			
			<div class="clear"></div>
			</div></td></tr>
				</table>
          </div>
        </div>
		</td></tr>
</table>
    </div>
</div>
<script>
	//<![CDATA[
	pagination = new Array();
	pagination['currentPage'] = "<?=$ctx->pager['currentPage']?>";
	pagination['resultsPerPage'] = "<?=$ctx->pager['resultPerPage']?>";
	pagination['pages'] = "<?= $ctx->pager['pages']?>";  
	pagination['pager'] = '<?=$ctx->pager["pager"]?>';
	pagination['resultsCount'] = "${pager/resultsCount}" ;
	
	var Params='${params}';
	//alert(pagination['resultsCount']+'  '+Params);
	var requestUrl = "/bigidea/index/pagination/0/";
	$(document).ready(function () {
	   setPagination(pagination['resultsCount'],'','downPagerId','','');
	});
	function redirect()
	{
		
		window.location = '/bigidea';
	}
	//]]>
</script>